package com.zilue.payment.gateway.reurndata.enums;

public enum RequestStatusEnum {
    RequestSuccess("10000", "成功"),
    RequestBusyness("20000", "系统繁忙"),
    RequestNoSuchMethod("20001", "接口不存在"),
    RequestNoMethodParameter("20002", "未指定接口"),
    RequestSignFailed("30000", "签名校验失败"),
    AppidIllegal("40000", "商户不存在"),
    NotSupportGET("50000", "客官，暂不支持GET请求"),
    RequestBodyIllegal("60000", "客官，您的请求内容不是合法的JSON格式，请检查请求数据格式"),
    ParameterIllegel("70000", "客官，参数不合法"),;
    private String code;
    private String msg;

    RequestStatusEnum(String code,String msg) {
        this.msg = msg;
        this.code = code;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }
}